/*
 * @Author: Lee.mark 
 * @Date: 2018-05-06 20:32:15 
 * @Last Modified by: Lee.mark
 * @Last Modified time: 2018-05-06 20:50:47
 */

//  引入mysql包
let mysql = require('mysql');
// 导入配置文件
let {
  db: dbConfig
} = require('../config');

// 连接数据库
let connect = mysql.createConnection(dbConfig);

// 输出
module.exports = connect;